Skip to content

[stable33] fix: don't rely on share providers being avaiable in CleanupShareTarget#57927

Merged
Altahrim merged 2 commits intostable33from
share-target-repair-no-providers-33
Feb 5, 2026
Merged

[stable33] fix: don't rely on share providers being avaiable in CleanupShareTarget#57927
Altahrim merged 2 commits intostable33from
share-target-repair-no-providers-33

Conversation

@icewind1991
Copy link
Member

Backport of #57926

@icewind1991 icewind1991 added this to the Nextcloud 33 milestone Jan 30, 2026
@icewind1991 icewind1991 requested a review from a team as a code owner January 30, 2026 15:42
@icewind1991 icewind1991 requested review from CarlSchwan, leftybournes and nfebe and removed request for a team January 30, 2026 15:42
@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Jan 30, 2026
@icewind1991 icewind1991 requested a review from sorbaugh January 30, 2026 15:42
@icewind1991 icewind1991 force-pushed the share-target-repair-no-providers-33 branch from e29ee35 to d765ec6 Compare January 30, 2026 15:48
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 force-pushed the share-target-repair-no-providers-33 branch from d765ec6 to 8916866 Compare January 30, 2026 15:54
return (int)$query->executeQuery()->fetchOne();
}

private function moveShare(string $id, string $target) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
private function moveShare(string $id, string $target) {
private function moveShare(string $id, string $target): void {

Copy link
Contributor

@come-nc come-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that not skipping a bunch of events which would be sent when renaming the share?
Potentially breaking apps relying on those?

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991
Copy link
Member Author

Is that not skipping a bunch of events which would be sent when renaming the share? Potentially breaking apps relying on those?

There is currently no event for moving shares

@Altahrim Altahrim merged commit a3e8700 into stable33 Feb 5, 2026
239 of 254 checks passed
@Altahrim Altahrim deleted the share-target-repair-no-providers-33 branch February 5, 2026 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants